import {} from './global'

/**
 * 定义查询接口
 */
export interface AddressesQueryReq extends PageQuery {
    recipientName : string;
    phoneNumber : string;
    provinceName : string;
    cityName : string;
    districtName : string;
    recipientSex : string;
    detailAddress : string;
    beginTime?: string|undefined;
    endTime?: string|undefined;
}

/**
 * 分页返回记录对象
 */
export interface AddressesResp {
    id : number;
    userId : number;
    label : string;
    isDefault : string;
    createTime : string;
    updateTime : string;
    createBy : string;
    updateBy : string
    recipientName : string;
    phoneNumber : string;
    provinceName : string;
    cityName : string;
    districtName : string;
    recipientSex : string;
    detailAddress : string;

}

/**
 * 新增或修改模型定义
 */
export interface FormReq {
    id ?: number | null | undefined;
    recipientName : string;
    phoneNumber : string;
    provinceName : string;
    cityName : string;
    districtName : string;
    provinceCode : string;
    cityCode:string;
    districtCode :string;
    address:[

    ];
    recipientSex : string;
    detailAddress : string;
    label : string;
    isDefault : string;
}
